package com.bto.leasetest.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 王小波
 * @description:
 * @date 2023/8/4 9:23
 */
@NoArgsConstructor
@Data
public class Contract {

    @JsonProperty("businessKey")
    private String businessKey;
    @JsonProperty("fileMessage")
    private List<FileMessage> fileMessage;
    @NoArgsConstructor
    @Data
    public static class FileMessage {
        @JsonProperty("documentName")
        private String documentName;
        @JsonProperty("url")
        private String url;
        @JsonProperty("usageCategory")
        private String usageCategory;
    }

}
